﻿<%@ Page Title="About Us" Language="C#" MasterPageFile="~/Template_BHHY_1.Master" AutoEventWireup="true"
    CodeBehind="DKBHTN.aspx.cs" Inherits="WebBHXH.About" %>
    <%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div style="margin-left:200px;">
        <table style="width:100%;">
            <tr>
                <td class="style1" style="width: 136px">
                    <asp:Label ID="Label1" runat="server" Text="Mã Số"></asp:Label>
                </td>
                <td class="style2" style="width: 333px">
                    <asp:TextBox ID="txtId" runat="server" ReadOnly="True" Width="312px"></asp:TextBox>
                </td>
                <td>
                    <asp:HiddenField ID="hdfId" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="style1" style="width: 136px">
                    Mã đợt bảo hiểm</td>
                <td class="style2" style="width: 333px">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="240px" 
                        AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtName" ErrorMessage="Hãy lựa chọn đợt BH" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1" style="width: 136px">
                    Họ và tên</td>
                <td class="style2" style="width: 333px">
                    <asp:TextBox ID="txtName" runat="server" Width="308px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtName" ErrorMessage="Họ Tên Không Được Để Trống" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1" style="width: 136px">
                    Ngày Sinh</td>
                <td class="style2" style="width: 333px">
                Ngày <asp:DropDownList ID="ddlDate" runat="server">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                        ControlToValidate="ddlDate" ErrorMessage="*" 
                        ForeColor="Red" InitialValue="Ngày:"></asp:RequiredFieldValidator>
                Tháng <asp:DropDownList ID="ddlMonth" runat="server">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                        ControlToValidate="ddlMonth" ErrorMessage="*" 
                        ForeColor="Red" InitialValue="Tháng:"></asp:RequiredFieldValidator>
                Năm <asp:DropDownList ID="ddlYear" runat="server">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                        ControlToValidate="ddlYear" ErrorMessage="*" 
                        ForeColor="Red" InitialValue="Năm:"></asp:RequiredFieldValidator>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
             <tr>
                <td class="style1" style="width: 136px">
                    Giới Tính</td>
                <td class="style2" style="width: 333px">
                    <asp:RadioButton ID="rbtnNam" runat="server" GroupName="gioitinh" 
                        Text="Nam" Checked="True" ValidationGroup="age" />
                    <asp:RadioButton ID="rbtnNu" runat="server" GroupName="gioitinh" 
                        Text="Nữ" ValidationGroup="age" />
                 </td>
                <td>
                    &nbsp;</td>
            </tr>
             <tr>
                <td class="style1" style="width: 136px">
                    Địa chỉ</td>
                <td class="style2" style="width: 333px">
                    <asp:TextBox ID="txtAddress" runat="server" Width="305px" Height="38px" 
                        TextMode="MultiLine"></asp:TextBox>
                 </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtAddress" ErrorMessage="Địa Chỉ Không Được Để Trống" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                 </td>
            </tr>
             <tr>
                <td class="style3" style="width: 136px">
                    Cơ sở khám chữa bệnh</td>
                <td class="style4" style="width: 333px">
                    <asp:DropDownList ID="DropDownList5" runat="server" Width="240px">
                    </asp:DropDownList>
                 </td>
                <td class="style5">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtName" ErrorMessage="Hãy lựa chọn cơ sở KCB" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
            </tr>
             <tr>
                <td class="style6" style="width: 136px">
                    Từ Ngày /Đến Ngày</td>
                <td class="style7" style="width: 333px">
&nbsp;<eo:DatePicker ID="dpkFrom" runat="server" ControlSkinID="None" 
        DayCellHeight="15" DayCellWidth="31" DayHeaderFormat="Short" DisabledDates="" 
        OtherMonthDayVisible="True" SelectedDates="" TitleFormat="MMMM, yyyy" 
        TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" 
        TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2013-02-01">
        <CalendarStyle CssText="background-color:white;border-bottom-color:Silver;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Silver;border-left-style:solid;border-left-width:1px;border-right-color:Silver;border-right-style:solid;border-right-width:1px;border-top-color:Silver;border-top-style:solid;border-top-width:1px;color:#2C0B1E;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
        <TitleStyle CssText="font-family:Verdana;font-size:8.75pt;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
        <TitleArrowStyle CssText="cursor: hand" />
        <MonthStyle CssText="cursor:hand;margin-bottom:0px;margin-left:4px;margin-right:4px;margin-top:0px;" />
        <DayHeaderStyle CssText="font-family:Verdana;font-size:8pt;border-bottom: #f5f5f5 1px solid" />
        <DayStyle CssText="font-family:Verdana;font-size:8pt;" />
        <DayHoverStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040402');color:#1c7cdc;" />
        <TodayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040401');color:#1176db;" />
        <SelectedDayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040403');color:Brown;" />
        <DisabledDayStyle CssText="font-family:Verdana;font-size:8pt;color: gray" />
        <FooterTemplate>
            <table border="0" cellPadding="0" cellspacing="5" 
                style="font-size: 11px; font-family: Verdana">
                <tr>
                    <td width="30">
                    </td>
                    <td valign="center">
                        <img src="{img:00040401}"></img></td>
                    <td valign="center">
                        Today: {var:today:MM/dd/yyyy}</td>
                </tr>
            </table>
        </FooterTemplate>
    </eo:DatePicker>
                    <eo:DatePicker ID="dpkTo" runat="server" ControlSkinID="None" 
        DayCellHeight="15" DayCellWidth="31" DayHeaderFormat="Short" DisabledDates="" 
        OtherMonthDayVisible="True" SelectedDates="" TitleFormat="MMMM, yyyy" 
        TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" 
        TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2013-02-01">
        <CalendarStyle CssText="background-color:white;border-bottom-color:Silver;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Silver;border-left-style:solid;border-left-width:1px;border-right-color:Silver;border-right-style:solid;border-right-width:1px;border-top-color:Silver;border-top-style:solid;border-top-width:1px;color:#2C0B1E;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
        <TitleStyle CssText="font-family:Verdana;font-size:8.75pt;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
        <TitleArrowStyle CssText="cursor: hand" />
        <MonthStyle CssText="cursor:hand;margin-bottom:0px;margin-left:4px;margin-right:4px;margin-top:0px;" />
        <DayHeaderStyle CssText="font-family:Verdana;font-size:8pt;border-bottom: #f5f5f5 1px solid" />
        <DayStyle CssText="font-family:Verdana;font-size:8pt;" />
        <DayHoverStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040402');color:#1c7cdc;" />
        <TodayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040401');color:#1176db;" />
        <SelectedDayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040403');color:Brown;" />
        <DisabledDayStyle CssText="font-family:Verdana;font-size:8pt;color: gray" />
        <FooterTemplate>
            <table border="0" cellPadding="0" cellspacing="5" 
                style="font-size: 11px; font-family: Verdana">
                <tr>
                    <td width="30">
                    </td>
                    <td valign="center">
                        <img src="{img:00040401}"></img></td>
                    <td valign="center">
                        Today: {var:today:MM/dd/yyyy}</td>
                </tr>
            </table>
        </FooterTemplate>
    </eo:DatePicker>
                 </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                        ControlToValidate="dpkFrom" ErrorMessage="Hãy chọn ngày bắt đầu" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                        ControlToValidate="dpkTo" ErrorMessage="Hãy chọn ngày kết thúc" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                    <br />
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="dpkFrom" ControlToValidate="dpkTo" 
                        ErrorMessage="Ngày bắt đầu phải nhỏ hơn ngày kết thúc" ForeColor="Red" 
                        Operator="GreaterThan" Type="Date"></asp:CompareValidator>
                    </td>
            </tr>
             <tr>
                <td class="style1" style="width: 136px">
                    Loại bảo hiểm</td>
                <td class="style2" style="width: 333px">
                    <asp:DropDownList ID="DropDownList6" runat="server" Width="240px" 
                        Enabled="False">
                    </asp:DropDownList>
                 </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="txtName" ErrorMessage="Hãy lựa chọn loại BH" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                 </td>
            </tr>
            <tr>
                <td class="style1" style="width: 136px">
                    Mục bảo hiểm</td>
                <td class="style2" style="width: 333px">
                    <asp:DropDownList ID="DropDownList7" runat="server" Width="240px" 
                        Enabled="False">
                    </asp:DropDownList>
                 </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="txtName" ErrorMessage="Hãy lựa chọn mục BH" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1" style="width: 136px; height: 22px;">
                    Ghi chú</td>
                <td class="style2" style="width: 333px; height: 22px;">
                    <asp:TextBox ID="txtNote" runat="server" Width="301px" Height="49px" 
                        TextMode="MultiLine"></asp:TextBox>
                    <br />
                 </td>
                <td style="height: 22px">
                    </td>
            </tr>
             <tr>
                <td class="style1" style="width: 136px; height: 56px;">
                    </td>
                <td class="style2" style="width: 333px; height: 56px;">
                    <asp:Button ID="btnDangKy" runat="server" Text="Đăng ký" Width="90px" 
                        onclick="btnDangKy_Click" />
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" CausesValidation="False" 
                        onclick="Button1_Click" Text="Quay lại Danh Sách" />
                 </td>
                <td style="height: 56px">
                    </td>
            </tr>
        </table>
</div>
</asp:Content>
